package com.red.wine.view;

import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.Canvas;
import android.util.AttributeSet;
import android.view.View;

public class PointChoice extends View{
	private int x;
	private int y;
	private Context context;
	private Bitmap bitmap;
	public PointChoice(Context context, AttributeSet attrs) {
		super(context, attrs);
	}
	
	public PointChoice(Context context, Bitmap bitmap, int x, int y){
		super(context);
		this.context = context;
		this.bitmap = bitmap;
		this.x = x;
		this.y = y;
	}

	@Override
	protected void onDraw(Canvas canvas) {
		super.onDraw(canvas);
		canvas.drawBitmap(bitmap, x, y, null);
	}
}
